const useApiRes = require('../common/apiRes')
const asyncHandler = require("express-async-handler");
const usePrinterService = require('../service/printer.service')

exports.printerList = asyncHandler(async (req, res, next) => {
    const list = await usePrinterService.getPrinterList()
    return useApiRes.success(res, list)
})


